﻿using System;
using System.Collections.Generic;
using System.Text;
using EM.OA.DataModel.DBModel;
using EM.OA.DAL;
using System.Linq;

namespace EM.OA.BLL 
{
	public class NetFolderBLL : BLLBase<EMOA_NetFolder>
	{
        public string GetNetFolderParentNameByID(Guid? ID)
        {
            using (var db = new EMOAContext())
            {
                var q = from a in db.EMOA_NetFolder
                        where a.NetFolderID == ID
                        select a.NetFloderName;
                return q.FirstOrDefault();
            }
        }
	}
}